imageware
Class ByteProcess

java.lang.Object
  extended by imageware.ByteBuffer
      extended by imageware.ByteAccess
          extended by imageware.BytePointwise
              extended by imageware.ByteProcess
All Implemented Interfaces:
Access, Buffer, Pointwise, Process
Direct Known Subclasses:
ByteSet

public class ByteProcess
extends BytePointwise
implements Process

Class ByteProcess.


Field Summary
 
Fields inherited from class imageware.ByteBuffer
data, nx, nxy, ny, nz
 
Constructor Summary
protected ByteProcess(byte[][][] array, int mode)
           
protected ByteProcess(byte[][] array, int mode)
           
protected ByteProcess(byte[] array, int mode)
           
protected ByteProcess(double[][][] array, int mode)
           
protected ByteProcess(double[][] array, int mode)
           
protected ByteProcess(double[] array, int mode)
           
protected ByteProcess(float[][][] array, int mode)
           
protected ByteProcess(float[][] array, int mode)
           
protected ByteProcess(float[] array, int mode)
           
protected ByteProcess(java.awt.Image image, int mode)
           
protected ByteProcess(ij.ImageStack stack, byte chan)
           
protected ByteProcess(ij.ImageStack stack, int mode)
           
protected ByteProcess(int nx, int ny, int nz)
           
protected ByteProcess(short[][][] array, int mode)
           
protected ByteProcess(short[][] array, int mode)
           
protected ByteProcess(short[] array, int mode)
           
 
Method Summary
 void add(ImageWare imageware)
          Add a imageware to the current imageware.
 void divide(ImageWare imageware)
          Divide a imageware to the current imageware.
 void max(ImageWare imageware)
          Get the maximum of this imageware and a imageware.
 void min(ImageWare imageware)
          Get the minimum of this imageware and a imageware.
 void multiply(ImageWare imageware)
          Multiply a imageware to the current imageware.
 void smoothGaussian(double sigma)
          Apply a separable gaussian smoothing over the image with the same strengthness in all directions.
 void smoothGaussian(double sigmaX, double sigmaY, double sigmaZ)
          Apply a separablegaussian smoothing over the image with an independant strengthness in the different directions.
 void subtract(ImageWare imageware)
          Subtract a imageware to the current imageware.
 
Methods inherited from class imageware.BytePointwise
abs, add, addGaussianNoise, addSaltPepper, addUniformNoise, buildImageStack, clip, clip, divide, exp, fillConstant, fillGaussianNoise, fillRamp, fillSaltPepper, fillUniformNoise, invert, log, multiply, negate, pow, rescale, rescale, rescaleCenter, sqr, sqrt, subtract, threshold, threshold, thresholdHard, thresholdSoft
 
Methods inherited from class imageware.ByteAccess
getBlockX, getBlockX, getBlockX, getBlockX, getBlockXY, getBlockXY, getBlockXY, getBlockXY, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockY, getBlockY, getBlockY, getBlockY, getBlockYZ, getBlockYZ, getBlockYZ, getBlockYZ, getBlockZ, getBlockZ, getBlockZ, getBlockZ, getBoundedX, getBoundedX, getBoundedX, getBoundedX, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedY, getBoundedY, getBoundedY, getBoundedY, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedZ, getBoundedZ, getBoundedZ, getBoundedZ, getInterpolatedPixel, getInterpolatedPixel, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getPixel, getPixel, putBoundedX, putBoundedX, putBoundedX, putBoundedX, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedY, putBoundedY, putBoundedY, putBoundedY, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedZ, putBoundedZ, putBoundedZ, putBoundedZ, putPixel
 
Methods inherited from class imageware.ByteBuffer
getDepth, getDimension, getHeight, getSize, getSizeX, getSizeY, getSizeZ, getSliceByte, getSliceDouble, getSliceFloat, getSliceShort, getTotalSize, getType, getTypeToString, getVolume, getWidth, getX, getX, getX, getX, getX, getXY, getXY, getXY, getXY, getXY, getXYZ, getXYZ, getXYZ, getXYZ, getXYZ, getXZ, getXZ, getXZ, getXZ, getXZ, getY, getY, getY, getY, getY, getYZ, getYZ, getYZ, getYZ, getYZ, getZ, getZ, getZ, getZ, getZ, isSameSize, putX, putX, putX, putX, putX, putXY, putXY, putXY, putXY, putXY, putXYZ, putXYZ, putXYZ, putXYZ, putXYZ, putXZ, putXZ, putXZ, putXZ, putXZ, putY, putY, putY, putY, putY, putYZ, putYZ, putYZ, putYZ, putYZ, putZ, putZ, putZ, putZ, putZ, throw_constructor, throw_constructor, throw_get, throw_put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface imageware.Pointwise
abs, add, addGaussianNoise, addSaltPepper, addUniformNoise, buildImageStack, clip, clip, divide, exp, fillConstant, fillGaussianNoise, fillRamp, fillSaltPepper, fillUniformNoise, invert, log, multiply, negate, pow, rescale, rescale, rescaleCenter, sqr, sqrt, subtract, threshold, threshold, thresholdHard, thresholdSoft
 
Methods inherited from interface imageware.Access
getBlockX, getBlockX, getBlockX, getBlockX, getBlockXY, getBlockXY, getBlockXY, getBlockXY, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockY, getBlockY, getBlockY, getBlockY, getBlockYZ, getBlockYZ, getBlockYZ, getBlockYZ, getBlockZ, getBlockZ, getBlockZ, getBlockZ, getBoundedX, getBoundedX, getBoundedX, getBoundedX, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedY, getBoundedY, getBoundedY, getBoundedY, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedZ, getBoundedZ, getBoundedZ, getBoundedZ, getInterpolatedPixel, getInterpolatedPixel, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getPixel, getPixel, putBoundedX, putBoundedX, putBoundedX, putBoundedX, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedY, putBoundedY, putBoundedY, putBoundedY, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedZ, putBoundedZ, putBoundedZ, putBoundedZ, putPixel
 
Methods inherited from interface imageware.Buffer
getDepth, getDimension, getHeight, getSize, getSizeX, getSizeY, getSizeZ, getSliceByte, getSliceDouble, getSliceFloat, getSliceShort, getTotalSize, getType, getTypeToString, getVolume, getWidth, getX, getX, getX, getX, getX, getXY, getXY, getXY, getXY, getXY, getXYZ, getXYZ, getXYZ, getXYZ, getXYZ, getXZ, getXZ, getXZ, getXZ, getXZ, getY, getY, getY, getY, getY, getYZ, getYZ, getYZ, getYZ, getYZ, getZ, getZ, getZ, getZ, getZ, isSameSize, putX, putX, putX, putX, putX, putXY, putXY, putXY, putXY, putXY, putXYZ, putXYZ, putXYZ, putXYZ, putXYZ, putXZ, putXZ, putXZ, putXZ, putXZ, putY, putY, putY, putY, putY, putYZ, putYZ, putYZ, putYZ, putYZ, putZ, putZ, putZ, putZ, putZ
 

Constructor Detail

ByteProcess

protected ByteProcess(int nx,
                      int ny,
                      int nz)

ByteProcess

protected ByteProcess(java.awt.Image image,
                      int mode)

ByteProcess

protected ByteProcess(ij.ImageStack stack,
                      int mode)

ByteProcess

protected ByteProcess(ij.ImageStack stack,
                      byte chan)

ByteProcess

protected ByteProcess(byte[] array,
                      int mode)

ByteProcess

protected ByteProcess(byte[][] array,
                      int mode)

ByteProcess

protected ByteProcess(byte[][][] array,
                      int mode)

ByteProcess

protected ByteProcess(short[] array,
                      int mode)

ByteProcess

protected ByteProcess(short[][] array,
                      int mode)

ByteProcess

protected ByteProcess(short[][][] array,
                      int mode)

ByteProcess

protected ByteProcess(float[] array,
                      int mode)

ByteProcess

protected ByteProcess(float[][] array,
                      int mode)

ByteProcess

protected ByteProcess(float[][][] array,
                      int mode)

ByteProcess

protected ByteProcess(double[] array,
                      int mode)

ByteProcess

protected ByteProcess(double[][] array,
                      int mode)

ByteProcess

protected ByteProcess(double[][][] array,
                      int mode)
Method Detail

smoothGaussian

public void smoothGaussian(double sigma)
Apply a separable gaussian smoothing over the image with the same strengthness in all directions. To have a smmothing effect the strengthness should be strictly greater than 0 and the size in the considered directions should be greater strictly than 1.

Specified by:
smoothGaussian in interface Process
Parameters:
sigma - Strengthness of the smoothing

smoothGaussian

public void smoothGaussian(double sigmaX,
                           double sigmaY,
                           double sigmaZ)
Apply a separablegaussian smoothing over the image with an independant strengthness in the different directions. To have a smmothing effect the strengthness should be strictly greater than 0 and the size in the considered directions should be greater strictly than 1.

Specified by:
smoothGaussian in interface Process
Parameters:
sigmaX - Strengthness of the smoothing in X axis
sigmaY - Strengthness of the smoothing in X axis
sigmaZ - Strengthness of the smoothing in X axis

max

public void max(ImageWare imageware)
Get the maximum of this imageware and a imageware.

Specified by:
max in interface Process
Parameters:
imageware - imageware to max

min

public void min(ImageWare imageware)
Get the minimum of this imageware and a imageware.

Specified by:
min in interface Process
Parameters:
imageware - imageware to min

add

public void add(ImageWare imageware)
Add a imageware to the current imageware.

Specified by:
add in interface Process
Parameters:
imageware - imageware to add

multiply

public void multiply(ImageWare imageware)
Multiply a imageware to the current imageware.

Specified by:
multiply in interface Process
Parameters:
imageware - imageware to multiply

subtract

public void subtract(ImageWare imageware)
Subtract a imageware to the current imageware.

Specified by:
subtract in interface Process
Parameters:
imageware - imageware to subtract

divide

public void divide(ImageWare imageware)
Divide a imageware to the current imageware.

Specified by:
divide in interface Process
Parameters:
imageware - imageware to divide